﻿Imports DAO
Imports DTO

Public Class LoaiAcQuyBUS
    Private laqDAO As LoaiAcquyDAO

    Public Sub New()
        laqDAO = New LoaiAcquyDAO()
    End Sub

    Public Function GetData()
        Return laqDAO.GetData()
    End Function

    Public Function TestDB(ByVal sql As String) As Boolean
        Return laqDAO.TestDB(sql)
    End Function

    Public Function InsertUpdateLoaiAcQuy(ByVal laq As LoaiAcquyDTO, ByVal flagIsUp As Boolean) As Boolean
        Return laqDAO.InsertUpdateLoaiAcQuy(laq, flagIsUp)
    End Function

    Public Function DeleteLoaiAcQuy(ByVal MLoai As LoaiAcquyDTO) As Boolean
        Return laqDAO.DeleteLoaiAcQuy(MLoai)
    End Function
End Class
